[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Info:New(): public: return self
The object is filled by default values, the following predcessor
variables are modified:
Info:Color: public: character
Color definition of the window of this task.
Info:DoneBlock: public: character
This instvar variable is stored a code block to, which by finishing of
the task does the erasing of the temporary work file. The workfile is
created when the user sends the text to print. If you dislike this code
block, you can replace it by own one just after the creation of the
object of this class, for example:
LOCAL OBJECT Inf OF Info
Inf:Buff:=....
Inf:DoneBlock:={|Self|NewDoneFunction(Self)}
Inf:Init(...)
Where NewDoneFunction(Self) should be user defined function, which is
processed by atempt of finishing of this object. As parameter obtains
self object Inf. It should return true if the object could be finished
and false if it couldn't and must stay active. (to stay active means that
the object is on the top of the stack of the task, its window is repainted
with active window colors and the method VProcess() is activated for this
object. All this job is done by task swapper (method Task:Process()).)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson